package com.crawler.search.index.builder;

import com.crawler.search.index.suffix.Suffixer;
import lombok.Builder;
import lombok.Data;

/**
 * @ClassName: DocBuilder
 * @Description: doc数据请求参数实体
 * @Author: zyh
 * @Date: 2020-10-30 15:25
 */
@Data
@Builder
public class DocSaverBuilder {

    /*索引名称*/
    public String index;

    /*索引别名*/
    public Suffixer suffixer;

    /*文档数据*/
    public String content;

    /*索引文档id*/
    public String id;

    /*索引mappings存储路径*/
    public String mappingPath;

}
